package com.ganbo.thread;

public class CreateThread1 extends Thread {

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName());
    }

    public static void main(String[] args) {
        CreateThread1 t1 = new CreateThread1();
        t1.start();

        System.out.println(Thread.currentThread().getName());
    }
}
